<!DOCTYPE html>
<html lang="en" xmlns:layout="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../css/public.css">
    <script src="../layui/layui.js"></script>
    <script src="../js/base.js" ></script>
    <script src="../js/interface/interface.js" ></script>
</head>
<body style="background-color:#FFFFFF">
    <div layout:fragment="content" class="layui-container">

        <div class="layui-row">
            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <a class="layui-btn layui-btn-normal" onclick="refreshTable()">
                            <i class="layui-icon">&#xe666;</i>
                        </a>
                    </div>
                    <div class="layui-inline">
                        <select id="select_service" name="service"  lay-filter="service">
                            <option value="">选择服务名</option>
                        </select>
                    </div>
                    <div class="layui-inline">
                        <a class="layui-btn layui-btn-normal" onclick="toAddInterface()">
                            <i class="layui-icon">&#xe608;</i> 添加
                        </a>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-inline">
                        <input id="code" type="text" name="code" required  lay-verify="required"  class="layui-input" placeholder="权限值" />
                    </div>
                    <div class="layui-inline">
                        <a class="layui-btn layui-btn-normal"  onclick="query()">
                            <i class="layui-icon">&#xe615;</i> 搜索
                        </a>
                    </div>
                </div>
            </form>
        </div>

        <table id="interface_table" lay-filter="interface" lay-data="{id: 'interfaceTable'}"></table>

    </div>
</body>
</html>